﻿using ECO.Admin.Core.EntityCore;
using SqlSugar;

namespace ECO.Admin.Core.Entities.System
{
    [SugarTable("SysUserRoleMapping", TableDescription = "用户角色映射表")]
    public class SysUserRoleMapping : IEntity
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public int UserId { get; set; }

        /// <summary>
        /// 角色Id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public int RoleId { get; set; }
    }
}
